﻿{layout:simple} {class:Shop.Admin.product.Class_Unite_window}
<lbbody>
<table class="table">
<tr>
    <th style="width:20%">
        <%=Tag("源分类")%>：
    </th>
    <td>
        <select name="fromid" id="fromid">
            <%=Shop.Bussiness.EX_Product.TypeOption(0, 0, 0, CurrentLanguage.Code)%>
        </select>
    </td>
</tr>
<tr>
    <th style="width:20%">
        <%=Tag("目的分类")%>：
    </th>
    <td>
        <select name="toid" id="toid">
            <%=Shop.Bussiness.EX_Product.TypeOption(0, 0, 0, CurrentLanguage.Code)%>
        </select>
    </td>
</tr>
<tr>
    <td colspan="2" class="action">
        <div class="tools tools-m clear">
            <ul>
                <li class="submit"><a href="javascript:void(0);" onclick="SaveObj();"><b></b><span><%=Tag("保存")%></span></a></li>
            </ul>
        </div>
    </td>
</tr>
</table>
<script type="text/javascript">
    function SaveObj(){var fromid=$("#fromid").val();var toid=$("#toid").val();var postData={"toid":toid,"fromid":fromid};var url="<%=site.AdminPath %>/ajax/ajax_product.aspx?__Action=Class_Unite";RequestAjax(url,postData,function(){MsgBox(1,"<%=Tag("操作成功")%>","?")})}
</script>
</lbbody>